Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 6 - Style Objects / Style Objects Reference
Style Objects Routines / Managing Picking Parts Styles


Q3PickPartsStyle_New

You can use the Q3PickPartsStyle_New function to create a new picking parts style object.

TQ3StyleObject Q3PickPartsStyle_New (TQ3PickParts parts);
parts
A picking parts style value.
DESCRIPTION
The Q3PickPartsStyle_New function returns, as its function result, a new style object having the picking parts style specified by the parts parameter. See page 6-10 for a list of masks you can use to construct a picking parts style value.

If a new style object could not be created, Q3PickPartsStyle_New returns the value NULL.

To change the current picking parts style, you must actually draw the style object. You can call Q3Style_Submit to draw the style in retained mode or Q3PickPartsStyle_Submit (described next) to draw the style in immediate mode.

SEE ALSO
See "Picking Parts Styles" on page 6-10 for a description of picking parts styles.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996